DevForce Help Reference
GetEntityReference(TInstance) Method


Entity instance
Returns the ScalarEntityReference<T> for this navigation property.
Syntax
'Declaration
 
Public Overloads Function GetEntityReference( _
   ByVal instance As TInstance _
) As ScalarEntityReference(Of TValue)
'Usage
 
Dim instance As NavigationScalarEntityProperty(Of TInstance,TValue)
Dim instance As TInstance
Dim value As ScalarEntityReference(Of TValue)
 
value = instance.GetEntityReference(instance)
public ScalarEntityReference<TValue> GetEntityReference( 
   TInstance instance
)

Parameters

instance
Entity instance
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NavigationScalarEntityProperty<TInstance,TValue> Class
NavigationScalarEntityProperty<TInstance,TValue> Members
Overload List

Send Feedback